<template>
	<view>
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item>
				<view class="swiper-item">
					<image src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1603524469819&di=52f59b6b41aecf87b912f7d1b5cbd1c7&imgtype=0&src=http%3A%2F%2Fpic.51yuansu.com%2Fpic3%2Fcover%2F02%2F61%2F47%2F59fc25e66e50c_610.jpg" mode=""></image>
				</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">
					<image src="https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1526728758,1617096399&fm=26&gp=0.jpg" mode=""></image>
				</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">
					<image src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1603525182992&di=b3518e9553ad20754e976607f75040f7&imgtype=0&src=http%3A%2F%2Fhbimg.b0.upaiyun.com%2F342103f8530096690e5341b973fd724b86d883106f10-3MUEnl_fw658" mode=""></image>
				</view>
			</swiper-item>
		</swiper>
		<button type="default" class="btnLogin" @click="jumpLogin">登录</button>
		<!-- <button type="default" class="btnRegister" @click="jumpRegister">注册</button> -->
	</view>
</template>

<script>
	export default {
		components: {
		},
		data() {
			return {
				
			}
		},
		methods: {
			jumpLogin() {
				uni.navigateTo({
					url: "/pages/login/login"
				})
			},
			jumpRegister() {
				uni.navigateTo({
					url: "/pages/register/register"
				})
			}
		}
	}
</script>

<style>
uni-swiper, image {
	height: 600px;
}
image {
	width: 375px;
}
button {
	width: 220px;
}
button::after {
	border: none;
}
.btnLogin {
	background-color: #FED501;
	color: #FFFFFF;
	margin-top: 40px;
	margin-bottom: 10px;
}
.btnRegister {
	background-color: #FFFFFF;
	color: #FED501;
}
</style>
